﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path;
%>
<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <link rel="stylesheet" type="text/css"
          href="<%=basePath%>/assets/static/h-ui/css/H-ui.reset.css"/>
    <link rel="stylesheet" type="text/css"
          href="<%=basePath%>/assets/lib/Hui-iconfont/1.0.8/iconfont.css"/>
    <link rel="stylesheet"
          href="<%=basePath%>/assets/bootstrap/css/bootstrap.css"/>
    <script type="text/javascript" src="<%=basePath%>/assets/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript"
            src="<%=basePath%>/assets/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="<%=basePath%>/assets/lib/layer/2.4/layer.js"></script>

    <title>试题详情</title>
</head>
<style type="text/css">
    .form-control-one {
        display: block;
        min-height: 34px;
        padding: 6px 12px;
        font-size: 14px;
        line-height: 1.42857143;
        color: #555;
        background-color: #FFFFCC;
        background-image: none;
        border: 1px solid #ccc;
        border-radius: 4px;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
        -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
        -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    }

    /**
     *@Author: 陈玉林
     *@Description: 减小padding
     *@Date: 10:02 2017/8/10
     */
    .reduce-padding {
        padding: 2px;
    }
</style>
<body>
<div class="container-fluid ">
    <div class="row clearfix  "
         style="width: 100%;margin: auto;">
        <div class="col-md-3"
             style="margin-left: 40%;margin-top: 10px">
            <span class="lead "> 评分标准 </span>
        </div>
        <br/> <br/>
        <br/>
        <div class="col-md-12 ">
            <div class="pull-right">
                <i style="font-size: 10px;color: #337ab7;">
                    <c:if test="${not empty examinationDetials.examDetailsUsers.propositionUserName}">&nbsp;&nbsp;命题用户:${examinationDetials.examDetailsUsers.propositionUserName}</c:if>
                    <c:if test="${not empty examinationDetials.examDetailsUsers.checkOneUserName}">&nbsp;&nbsp;一审用户:${examinationDetials.examDetailsUsers.checkOneUserName}</c:if>
                    <c:if test="${not empty examinationDetials.examDetailsUsers.checkTwoUserName}">&nbsp;&nbsp;二审用户:${examinationDetials.examDetailsUsers.checkTwoUserName}</c:if>
                </i>
            </div>
        </div>
        <div class="col-md-12 form-control-one">
            <div class="col-md-12 ">
                <label class="col-md-1 control-label "
                       style="font-weight:700;text-align: right;">题干:</label>
                <div class="col-md-10">${examinationDetials.examination.stem}</div>
                <div class="col-md-1" style="font-weight: bold;">分数</div>
            </div>

            <div class="col-md-12 ">
                <label class="col-md-1 control-label"
                       style="font-weight: 700;text-align: right;">定位:</label>
                <div class="col-md-10">${examinationDetials.examination.location}</div>
                <div class="col-md-1">&nbsp;
                    ${examinationDetials.examination.locationScore}</div>
            </div>
            <div
                    class="col-md-12 ">
                <label class="col-md-1 control-label"
                       style="font-weight: 700;text-align: right;">归经:</label>
                <div class="col-md-10">${examinationDetials.examination.meridian}</div>
                <div class="col-md-1">&nbsp;
                    ${examinationDetials.examination.meridianScore}</div>
            </div>
            <!--主治 最多6条-->
            <c:forEach var="item" items="${examinationDetials.answerCommonList}" begin="0"
                       end="0" step="1">
                <div class="col-md-12 ">
                    <label class="col-md-1 control-label" style="font-weight: 700;text-align: right;">主治:</label>
                    <div class="col-md-10">${item.answer}</div>
                    <div class="col-md-1">&nbsp; ${item.score}</div>
                </div>
            </c:forEach>
            <c:forEach var="item" items="${examinationDetials.answerCommonList}" begin="1" end="5" step="1">
                <div class="col-md-12">
                    <label class="col-md-1 control-label" style="font-weight: 700;text-align: right;">&nbsp;&nbsp;&nbsp;</label>
                    <div class="col-md-10">${item.answer}</div>
                    <div class="col-md-1">&nbsp; ${item.score}</div>
                </div>
            </c:forEach>


            <!--公共部分-->
            <div class="col-md-12 ">
                <label class="col-md-1 control-label"
                       style="font-weight: 700;text-align: right;">合计:</label>
                <div class="col-md-11">${examinationDetials.examination.totalScore}</div>
            </div>
            <div class="col-md-12 ">
                <label class="col-md-1 control-label reduce-padding"
                       style="font-weight: 700;text-align: right;">大纲代码:</label>
                <div class="col-md-11">${examinationDetials.examination.outlineCode}</div>
            </div>
            <div class="col-md-12 ">
                <label class="col-md-1 control-label"
                       style="font-weight: 700;text-align: right;">知识点:</label>
                <div class="col-md-11">${examinationDetials.examination.knowledgePoint}</div>
            </div>

            <div class="col-md-12 ">
                <label class="col-md-1 control-label reduce-padding"
                       style="font-weight: 700;text-align: right;">认知层次:</label>
                <div class="col-md-11">${examinationDetials.examination.cognitiveLevel}</div>
            </div>
        </div>
        <span style="font-size: 10px;text-align: right;color: gray">
				<c:if test="${not empty examinationDetials.examination.mark}">不通过原因:${examinationDetials.examination.mark}</c:if>
			</span>
    </div>
</div>
</body>

</html>